package decorator.children;

import decorator.base.BaseBeverage;

/**浓咖啡 不带调料
 * @author yaojianfeng
 */
public class Espresso extends BaseBeverage {

    public Espresso() {
        description = "浓咖啡";
    }

    /**
     * 计算咖啡的价格
     *
     * @return 价格
     */
    @Override
    public float cost() {
        return 1.99F;
    }
}
